﻿

project(BiaoDing)

# 将源代码添加到此项目的可执行文件。
find_package(Qt5Widgets REQUIRED) # Qt 组件（默认支持核心）
find_package(OpenCV REQUIRED)
find_package(Qt5Core REQUIRED)

include_directories(${QTDIR}/QtWidgets ${CMAKE_SOURCE_DIR}/common
	${root}/hal
	${OpenCV_INCLUDE_DIRS}
) # ${root}/component ${root}/SystemState ${root}/SystemConfiguration)

get_directory_property(out_var INCLUDE_DIRECTORIES)
message("${out_var}")

aux_source_directory(. src)
# 将源代码添加到此项目的可执行文件。
add_executable(${PROJECT_NAME} 
		#WIN32
		${src} "calibrator_data.h")
target_link_libraries(${PROJECT_NAME} PRIVATE Qt5::Widgets Qt5::Core liblog
		libcamera 	${OpenCV_LIBS}	
)
# TODO: 如有需要，请添加测试并安装目标
